import Field from "@src/model/Field";


export const CreateTriggerDialogFormFields: Field[] = [
    new Field({
        displayName: '触发器名称',
        fieldName: 'name',
        formType: 'text',
        isNull: 0,
        maxlength: 20,
        setting: {
            isLimitWord: true,
            limitWordMax: 20,
        }
    }),
    new Field({
        displayName: '描述',
        fieldName: 'des',
        formType: 'textarea',
        isNull: 1,
        maxlength: 500,
        setting: {
            isLimitWord: true,
            limitWordMax: 500,
        }
    }),
    new Field({
        displayName: '触发方式',
        fieldName: 'triggerWay',
        formType: 'textarea',
        isNull: 1
    }),
]